<ion-view hide-nav-bar="true" title="我">
  <ion-content  scroll="false">
    <div class="person-head">
      <img src="img/person_bg.jpeg" alt="" />
      <!-- <img src="img/person_bg1.png" alt="" /> -->
      <div class="head-img" ui-sref="tab.mine.info" ng-show="root.user">
        <img ng-src="{{root.user.avatorImg? root.user.avatorImg : 'img/ben.png'}}" style="width: 100%; border-radius: 50%">
        <p class="head-name">
          {{root.user.name}}
        </p>
        <p class="head-name" style="font-size: 14px">
          {{root.user.depart.departName}}
        </p>
      </div>
      <div class="head-img" ui-sref="login" ng-hide="root.user">
        <p>登录</p>
      </div>
    </div>
    <div class="list" ng-show="root.user">
      <!-- <a class="item item-icon-left item-icon-right" ui-sref="tab.mine.info">
        <i class="icon ion-ios-person"></i>
        个人信息
        <i class="icon ion-ios-arrow-right"></i>
      </a> -->
      <a class="item item-icon-left item-icon-right" ui-sref="tab.mine.evaluate">
        <i class="icon ion-social-usd"></i>
        个人绩效
        <i class="icon ion-ios-arrow-right"></i>
      </a>
      <a class="item item-icon-left item-icon-right" ui-sref="tab.mine.mark">
        <i class="icon ion-android-locate"></i>
        签到信息
        <i class="icon ion-ios-arrow-right"></i>
      </a>
      <a class="item item-icon-left item-icon-right" ui-sref="tab.mine.amount" ng-if="root.canCalculate()">
        <i class="icon ion-navicon"></i>
        统计信息
        <i class="icon ion-ios-arrow-right"></i>
      </a>
      <a class="item item-icon-left item-icon-right" href="javascript: void(0);" ng-click="mineDashCtrl.changePwd()">
        <i class="icon ion-ios-locked-outline"></i>
        修改密码
        <i class="icon ion-ios-arrow-right"></i>
      </a>
      <a class="item item-icon-left item-icon-right" ng-click="mineDashCtrl.logout()">
        <i class="icon ion-log-out"></i>
        注销登录
        <i class="icon ion-ios-arrow-right"></i>
      </a>
    </div>
    <!-- <div class="list">
      <a class="item item-icon-right">
        关于我们
        <i class="icon ion-ios-arrow-right"></i>
      </a>
    </div> -->

  </ion-content>
</ion-view>
